//
//  IMListModel.m
//  TQY
//
//  Created by 甘世清 on 2024/10/18.
//

#import "IMListModel.h"

@implementation IMListModel
 
   
 
- (NSString *)contentString{
    if ([self.type isEqualToString:@"0"]) {
       
    } else  if ([self.type isEqualToString:@"1"]) {
        return SQNSLocalString(@"[图片]");
    }else  if ([self.type isEqualToString:@"2"]) {
        return SQNSLocalString(@"[文件]");
    }else  if ([self.type isEqualToString:@"3"]) {
        return SQNSLocalString(@"[语音]");
    }else  if ([self.type isEqualToString:@"4"]) {
        return SQNSLocalString(@"[视频]");
    }else  if ([self.type isEqualToString:@"5"]) {
        return SQNSLocalString(@"[位置]");
    }
    return self.content;
}

@end
